package com.dagger.weapon.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchArticle {

    private String status;
    private Integer channelId;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date minDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date maxDate;
    private Integer pageStart;
    private Integer limit;
}
